enhancing LINK references in the new tests
diff --git a/XMLHttpRequest/abort-after-receive.htm b/XMLHttpRequest/abort-after-receive.htm index 44a02ba..155431c 100644 --- a/XMLHttpRequest/abort-after-receive.htm +++ b/XMLHttpRequest/abort-after-receive.htm
@@ -4,7 +4,7 @@ <title>XMLHttpRequest: abort() after successful receive should not fire "abort" event</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> - <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-abort()-method" /> + <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-abort()-method" data-tested-assertations="following::ol[1]/li[4]"/> </head> <body> <div id="log"></div>
diff --git a/XMLHttpRequest/event-readystatechange-loaded.htm b/XMLHttpRequest/event-readystatechange-loaded.htm index 4274280..50f411d 100644 --- a/XMLHttpRequest/event-readystatechange-loaded.htm +++ b/XMLHttpRequest/event-readystatechange-loaded.htm
@@ -5,7 +5,9 @@ <title>XMLHttpRequest: the LOADING state change should only happen once</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> - <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-send()-method" > + <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-send()-method" data-tested-assertations="following::ol[1]/li[10]/dt[1]"> + <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#infrastructure-for-the-send()-method" data-tested-assertations="following::dt[7] following::a[contains(@href,'#switch-loading')]/.."> + <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#switch-loading" data-tested-assertations="following::ol[1]/li[1] following::ol[1]/li[2]"> </head> <div id="log"></div>
diff --git a/XMLHttpRequest/response-data-gzip.htm b/XMLHttpRequest/response-data-gzip.htm index 3e6f04d..2ddbb26 100644 --- a/XMLHttpRequest/response-data-gzip.htm +++ b/XMLHttpRequest/response-data-gzip.htm
@@ -4,7 +4,7 @@ <title>XMLHttpRequest: GZIP response was correctly inflated</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> - <link rel="help" href="https://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-send()-method" /> + <link rel="help" href="https://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-send()-method" data-tested-assertations="following::p[contains(text(),'content-encodings')]" /> </head> <body> <div id="log"></div>
diff --git a/XMLHttpRequest/response-data-progress.htm b/XMLHttpRequest/response-data-progress.htm index a4f8909..384a117 100644 --- a/XMLHttpRequest/response-data-progress.htm +++ b/XMLHttpRequest/response-data-progress.htm
@@ -5,7 +5,8 @@ <title>XMLHttpRequest: progress events grow response body size</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> - <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-send()-method"> + <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-send()-method" data-tested-assertations="following::a[contains(@href,'#make-progress-notifications')]/.. following::a[contains(@href,'#make-progress-notifications')]/../following:p[1]" /> + <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#make-progress-notifications" data-tested-assertations=".." /> <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#handler-xhr-onprogress" data-tested-assertations="/../.." /> <link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#event-xhr-progress" data-tested-assertations="/../.." /> </head>